package org.cloudlab.common;

/**
 * 常用的常量
 *
 * @author Liu Yicong
 * @date 2023/9/5
 */
public class CommonConst {

	public static final Long ADMIN_ID = 1L;

	public static final String ADMIN_ROLE = "1";

	public static final String SEPARATOR = ",";

	public static final String COMMON_ROLE = "0";

	public static String TOKEN = "token";
	public static String USERNAME = "userName";
	public static String NICKNAME = "nickName";

	/**
	 * 此字段废止使用
	 *
	 * @see YesNoState#YES
	 */
	@Deprecated
	public static String YES = "Y";

	/**
	 * 此字段废止使用
	 *
	 * @see YesNoState#NO
	 */
	@Deprecated
	public static String NO = "N";

	/**
	 * 此字段废止使用
	 *
	 * @see RemoveState#NOT_REMOVE
	 */
	@Deprecated
	public static Integer NOT_REMOVE = 0;

	/**
	 * 此字段废止使用
	 *
	 * @see RemoveState#REMOVED
	 */
	@Deprecated
	public static Integer REMOVED = 1;

	public static String ACCEPT = "accept";


	/*-------------------Redis Key Prefix----------------------*/
	public static String LOGIN_USER = "login_user_";


}
